package cn.iocoder.yudao.module.blog.convert.postertype;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.blog.controller.admin.postertype.vo.*;
import cn.iocoder.yudao.module.blog.dal.dataobject.postertype.PosterTypeDO;

/**
 * 海报类型 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface PosterTypeConvert {

    PosterTypeConvert INSTANCE = Mappers.getMapper(PosterTypeConvert.class);

    PosterTypeDO convert(PosterTypeCreateReqVO bean);

    PosterTypeDO convert(PosterTypeUpdateReqVO bean);

    PosterTypeRespVO convert(PosterTypeDO bean);

    List<PosterTypeRespVO> convertList(List<PosterTypeDO> list);

    PageResult<PosterTypeRespVO> convertPage(PageResult<PosterTypeDO> page);

    List<PosterTypeExcelVO> convertList02(List<PosterTypeDO> list);

}
